"""warehouse_manager_back URL Configuration

The `urlpatterns` list routes URLs to views. For more information please see:
    https://docs.djangoproject.com/en/4.1/topics/http/urls/
Examples:
Function views
    1. Add an import:  from my_app import views
    2. Add a URL to urlpatterns:  path('', views.home, name='home')
Class-based views
    1. Add an import:  from other_app.views import Home
    2. Add a URL to urlpatterns:  path('', Home.as_view(), name='home')
Including another URLconf
    1. Import the include() function: from django.urls import include, path
    2. Add a URL to urlpatterns:  path('blog/', include('blog.urls'))
"""
from django.contrib import admin
from django.urls import path
from app import views as app_v

urlpatterns = [
    path('admin/', admin.site.urls),
    path('app/login', app_v.login),
    path('app/login_veri',app_v.login_veri),
    path('app/register', app_v.register),
    path('app/register_email', app_v.register_email),
    path('app/get_confirm_code', app_v.get_confirm_code),
    path('app/get_user_all', app_v.get_all),
    path('app/updateUserInformation', app_v.updateInformation),
    path('app/addUser', app_v.addInformation),
    path('app/deleteUser', app_v.deleteInformation),
    path('app/updateUserInfo', app_v.updateUserInfo),
    path('app/getUserInfo', app_v.getUserInfo),

    path('app/IBhandle', app_v.IBhandle),
    path('app/OBhandle', app_v.OBhandle),
    path('app/reportdownload', app_v.workbookDownload),
    path('app/reportdownload2', app_v.PersonnelworkbookDownload),
    path('app/applyfor', app_v.applyfor),
    path('app/punch', app_v.punch),
    path('app/checkoutpunch', app_v.checkoutpunch)
]
